<%@tag description="Global navigation tag" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp" %>

<%@attribute name="page" required="true"%>
<%@attribute name="section" required="true"%>

<%--<ul id="tabmenu">
    
    <t:tab title="Main" beanclass="pkg.action.UserActionBean" thisPage="${section}"/>
    
</ul>--%>

<ul id="tabmenu">
    <c:choose>
        <c:when test="${section == 'Main'}">
            <t:tab title="Users" beanclass="pkg.action.UserActionBean" thisPage="${page}"/>
            <t:tab title="Auctions" beanclass="pkg.action.AuctionActionBean" thisPage="${page}"/>
            <t:tab title="Teachers" beanclass="pkg.action.TeacherActionBean" thisPage="${page}"/>
            <t:tab title="Grades" beanclass="pkg.action.GradeActionBean" thisPage="${page}"/>
            <t:tab title="Prefixes" beanclass="pkg.action.PrefixActionBean" thisPage="${page}"/>
        </c:when>    
    </c:choose>
</ul>
